package com.edgar.music.artist.entity;

import android.support.annotation.StringRes;

import com.edgar.music.artist.type.LanguageType;
import com.edgar.music.artist.type.SingerCategoryType;

/**
 * Created by Edgar on 2017/1/2.
 * 歌手分类
 */
public class ArtistCategory{
    public static final String HOT = "热门";
    private @StringRes int title;
    private String abc;
    private boolean isSelect;
    private LanguageType languageType;
    private SingerCategoryType singerCategoryType;

    public ArtistCategory language(LanguageType languageType){
        this.languageType = languageType;
        return this;
    }

    public ArtistCategory singerCategory(SingerCategoryType singerCategoryType){
        this.singerCategoryType = singerCategoryType;
        return this;
    }

    public ArtistCategory hot(){
        return abc(HOT);
    }

    public ArtistCategory abc(String abc){
        this.abc = abc;
        return this;
    }

    public ArtistCategory title(@StringRes int title){
        this.title = title;
        return this;
    }

    public LanguageType getLanguageType() {
        return languageType;
    }

    public SingerCategoryType getSingerCategoryType() {
        return singerCategoryType;
    }

    public int getTitle() {
        return title;
    }

    public String getAbc() {
        return abc;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public boolean isSelect() {
        return isSelect;
    }
}